write cos(theta) in terms of sin(theta)